package com.strange.mdl.module.mdl.controller.admin.debatehall.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import jakarta.validation.constraints.*;

@Schema(description = "管理后台 - 辨经殿话题新增/修改 Request VO")
@Data
public class DebatehallSaveReqVO {

    @Schema(description = "主键ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "973")
    private Long id;

    @Schema(description = "创作者ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "2")
    @NotNull(message = "创作者ID不能为空")
    private Long userId;

    @Schema(description = "话题详细描述", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "话题详细描述不能为空")
    private String content;

    @Schema(description = "正方标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "正方标题不能为空")
    private String prosTitle;

    @Schema(description = "反方标题", requiredMode = Schema.RequiredMode.REQUIRED)
    @NotEmpty(message = "反方标题不能为空")
    private String consTitle;

}